package com.bd.demo;

import androidx.annotation.NonNull;

import java.util.List;

import kotlin.coroutines.Continuation;
import kotlin.coroutines.CoroutineContext;
import kotlinx.coroutines.Dispatchers;

public class TestJava {

    static void test() {
        TestMainKt.susFunc(new Continuation<List<? extends String>>() {
            @NonNull
            @Override
            public CoroutineContext getContext() {
                return Dispatchers.getIO();
            }

            @Override
            public void resumeWith(@NonNull Object o) {
                List<String> list = (List<String>) o;
                System.out.println(list);
            }
        });
    }
}
